<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" 
CodeFile="Add_Inv_Att.aspx.vb" Inherits="New_Business_Add_Inv_Att" title="Add_Inv_Att" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px;height: 5px;"></td></tr>
    </table>
    
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
        <td align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            Policy # - 1115160222
        </td>
        <td></td>
        </tr>
        <tr>
        <td align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            Friends Provident - Premiere
        </td>
        <td align="right" style="font-weight: bold; font-size: 10pt; font-family: Arial; color: #d63007;">
            Add New Investor
        </td>
        </tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
    </table>
    
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
        <td align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            Name - Perez, Inc.
        </td>
        </tr>
    </table>
    
    <br />

    <table border="0" cellpadding="0" cellspacing="0" width="800">
    
    <tr>
    <!-- Start Menu -->
    <td style="width: 200px" valign="top">
    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="height: 30px"><img src="../images/grayT.PNG" alt="selected" />
            </td>
            <td style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 180px; height: 30px;" align="right">
            <asp:LinkButton ID="Main_Info_btn" runat="server" Font-Underline="False" 
                    ForeColor="#999999">Main Information&nbsp;&nbsp;</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="height: 30px"><img src="../images/redT.PNG" alt="selected" />
            </td>
            <td style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 180px; height: 30px;" align="right">
            <asp:LinkButton ID="Attachments_btn" runat="server" Font-Underline="False" 
                    ForeColor="Black">Attachments&nbsp;&nbsp;</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="height: 30px"><img src="../images/grayT.PNG" alt="selected" />
            </td>
            <td style="font-weight: bold; font-size: 10pt; font-family: Arial; width: 180px; height: 30px;" align="right">
            <asp:LinkButton ID="Risk_Profile_btn" runat="server" Font-Underline="False" 
                    ForeColor="#999999">Risk Profile&nbsp;&nbsp;</asp:LinkButton>
            </td>
        </tr>        
        </table>
    
    </td>
    <!-- End Menu -->
    
    <!-- Start Content -->
    <td style="width: 600px">
    
    <table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #f2f3f5">
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 10px;" align="left"></td>
            </tr>
            </table>
        </td></tr>            
        <tr><td style="width: 600px; height: 47px;">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; height: 28px;" align="center">
                    <asp:FileUpload ID="FileUpload1" runat="server" Width="472px" /></td>
            </tr>
            </table>            
        </td></tr>
        <tr><td style="width: 600px">        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; height: 28px; width: 63px;" align="left">
                    &nbsp;</td>
                <td style="font-size: 10pt; font-family: Verdana; height: 28px;" align="left">
                    <asp:TextBox ID="TextBox1" runat="server" Width="296px">Caption</asp:TextBox></td>
                <td style="height: 28px; width: 146px;" align="left">
                    <asp:Button ID="Attach_btn" runat="server" Text="Attach File" Font-Names="Verdana" Width="80px" /></td>
            </tr>
            </table>            
        </td></tr>
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 10px;" align="left"></td>
            </tr>
            </table>
        </td></tr>                
        </table>
                    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr><td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana">
                    <asp:DataGrid ID="DataGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="White" BorderStyle="Solid" BorderWidth="1px" CellPadding="1" Font-Names="Verdana" Width="600px" Font-Size="Small" TabIndex="12" AllowSorting="True" AllowPaging="True">
                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                    <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                    <PagerStyle BackColor="White" ForeColor="#330099" HorizontalAlign="Left" Mode="NumericPages" PageButtonCount="9" Position="Top" />
                    <AlternatingItemStyle BackColor="#D7DADF" />
                    <ItemStyle BackColor="#F2F3F5" ForeColor="Black" />
                    <HeaderStyle BackColor="#105BA4" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundColumn HeaderText="Caption">
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                            <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Center" />
                        </asp:BoundColumn>
                        <asp:TemplateColumn HeaderText="File Name">
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink1" runat="server"  ForeColor="Black" Text='<%# DataBinder.Eval(Container.DataItem, "ATT_Filename") %>'
                                 NavigateUrl='<%# Eval("[ATT_Filename]", "~/View.aspx?Filename={0}") %>' Target="_blank"></asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                            <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Center" Width="280px" />
                        </asp:TemplateColumn>
                        <asp:ButtonColumn CommandName="Edit" Text="Edit">
                            <HeaderStyle Width="10px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Center" />
                        </asp:ButtonColumn>
                        <asp:TemplateColumn>
                            <HeaderStyle Width="15px" />
                            <ItemTemplate>
                                <asp:LinkButton ID="Delete_btn" runat="server" CommandName="Delete" ForeColor="Black">Delete</asp:LinkButton>
                                <ajaxToolkit:ConfirmButtonExtender
                                    ID="ConfirmButtonExtender1" runat="server" ConfirmText="Continue delete?" TargetControlID="Delete_btn">
                                </ajaxToolkit:ConfirmButtonExtender>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Center" />
                        </asp:TemplateColumn>
                    </Columns>
                </asp:DataGrid>                
                </td>
            </tr>
            </table>            
        </td></tr>
        
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 10px;" align="left"></td>
            </tr>
            </table>
        </td></tr>        
        </table>             
    </td>
    <!-- End Content --></tr>
    
    </table>        

    <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
</asp:Content>